package com.sh.data.engine.repository.dao.authority.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.sh.data.engine.repository.dao.base.EngineBaseModel;
import lombok.*;


@EqualsAndHashCode(callSuper = true)
@TableName(value = "tb_application_key")
@Data
public class ApplicationKeyEntity extends EngineBaseModel<ApplicationKeyEntity> {

    private String accessKey;
    private String secretKey;
    private String description;
    private Integer enabled;
    private String userId;

    public ApplicationKeyEntity() {
    }

    public ApplicationKeyEntity(String userId, String accessKey, String secretKey, String description, Integer enabled) {
        this.userId = userId;
        this.accessKey = accessKey;
        this.secretKey = secretKey;
        this.description = description;
        this.enabled = enabled;
    }
}
